Skip to content

Conversation

merceyz
Copy link

@merceyz merceyz commented Jun 7, 2021

What's the problem this PR addresses?

Using require.resolve('.bin/jscodeshift') relies on an implementation detail that isn't guaranteed to exist (Yarn PnP) or point to the expected version of jscodeshift

How did you fix it?

Resolve the JS CLI directly and spawn it using node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants